package com.example.treeHole.service.impl;

import com.example.treeHole.dao.SensitiveWordsMapper;
import com.example.treeHole.service.SensitiveWordsService;
import com.example.treeHole.vo.SensitiveWords;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SensitiveWordsServiceImpl implements SensitiveWordsService {

    @Autowired
    private SensitiveWordsMapper sensitiveWordsMapper;

    @Override
    public List<SensitiveWords> findAll() {
        List<SensitiveWords> all = sensitiveWordsMapper.findAll();
        return all;
    }
}
